import types from '../../action/types';
const defaultState = {
    loantype:'极速贷款'
}
export default function onAction(state = defaultState,action){
    switch (action.type) {
        case types.LOAN_CHANGE:
            return {
                ...state,
                ...action.loantype
            }
        default:
            return state;
    }
}